[INFO] fetching crate custom_rich_status 1.1.0...
[INFO] checking custom_rich_status-1.1.0 against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] extracting crate custom_rich_status 1.1.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate custom_rich_status 1.1.0
[INFO] finished tweaking crates.io crate custom_rich_status 1.1.0
[INFO] tweaked toml for crates.io crate custom_rich_status 1.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate custom_rich_status 1.1.0 on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 69 packages to latest compatible versions
[INFO] [stderr]       Adding clap v2.34.0 (available: v4.5.45)
[INFO] [stderr]       Adding discord-rpc-client v0.2.4 (available: v0.4.0)
[INFO] [stderr]       Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] afd65b87d29acf804566ffe107116a9c4ed93aa34d4680d5bdda056492370f07
[INFO] running `Command { std: "docker" "start" "-a" "afd65b87d29acf804566ffe107116a9c4ed93aa34d4680d5bdda056492370f07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "afd65b87d29acf804566ffe107116a9c4ed93aa34d4680d5bdda056492370f07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afd65b87d29acf804566ffe107116a9c4ed93aa34d4680d5bdda056492370f07", kill_on_drop: false }`
[INFO] [stdout] afd65b87d29acf804566ffe107116a9c4ed93aa34d4680d5bdda056492370f07
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ce633c875f2eb11794a56b468d0c360c90425f66ffa2e63603229a500eae8abd
[INFO] running `Command { std: "docker" "start" "-a" "ce633c875f2eb11794a56b468d0c360c90425f66ffa2e63603229a500eae8abd", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking quoted_strings v0.1.0
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking uuid v0.6.5
[INFO] [stderr]     Checking serde_yaml v0.8.26
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking discord-rpc-client v0.2.4
[INFO] [stderr]     Checking custom_rich_status v1.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/models/dto.rs:98:10
[INFO] [stdout]    |
[INFO] [stdout] 98 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/models/dto.rs:112:14
[INFO] [stdout]     |
[INFO] [stdout] 112 |             };
[INFO] [stdout]     |              ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/models/dto.rs:131:14
[INFO] [stdout]     |
[INFO] [stdout] 131 |             };
[INFO] [stdout]     |              ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `custom_rich_status` (bin "custom_rich_status" test) due to 2 previous errors; 6 warnings emitted
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/utils/gnr_error.rs:43:36
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn cause<'a>(&self) -> Option<&Error> {
[INFO] [stdout]    |                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn cause<'a>(&self) -> Option<&dyn Error> {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/command_engine/commands/mod.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |         (name: meta_data.name.as_ref())
[INFO] [stdout]    |          ^^^^                 ------ type must be known at this point
[INFO] [stdout]    |          |
[INFO] [stdout]    |          cannot infer type of the type parameter `S` declared on the method `name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: multiple `impl`s satisfying `std::string::String: AsRef<_>` found in the following crates: `alloc`, `std`:
[INFO] [stdout]            - impl AsRef<OsStr> for std::string::String;
[INFO] [stdout]            - impl AsRef<Path> for std::string::String;
[INFO] [stdout]            - impl AsRef<[u8]> for std::string::String;
[INFO] [stdout]            - impl AsRef<str> for std::string::String;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 15 |         (name::<&T>: meta_data.name.as_ref())
[INFO] [stdout]    |              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/command_engine/commands/mod.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 |     ).bin_name(meta_data.prompt.as_ref())
[INFO] [stdout]    |       ^^^^^^^^                  ------ type must be known at this point
[INFO] [stdout]    |       |
[INFO] [stdout]    |       cannot infer type of the type parameter `S` declared on the method `bin_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: multiple `impl`s satisfying `std::string::String: AsRef<_>` found in the following crates: `alloc`, `std`:
[INFO] [stdout]            - impl AsRef<OsStr> for std::string::String;
[INFO] [stdout]            - impl AsRef<Path> for std::string::String;
[INFO] [stdout]            - impl AsRef<[u8]> for std::string::String;
[INFO] [stdout]            - impl AsRef<str> for std::string::String;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 40 |     ).bin_name::<&T>(meta_data.prompt.as_ref())
[INFO] [stdout]    |               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/command_engine/engine.rs:34:29
[INFO] [stdout]    |
[INFO] [stdout] 34 |         String::from(buffer.trim_right())
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 34 -         String::from(buffer.trim_right())
[INFO] [stdout] 34 +         String::from(buffer.trim_end())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/models/dto.rs:98:10
[INFO] [stdout]    |
[INFO] [stdout] 98 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/models/dto.rs:112:14
[INFO] [stdout]     |
[INFO] [stdout] 112 |             };
[INFO] [stdout]     |              ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/models/dto.rs:131:14
[INFO] [stdout]     |
[INFO] [stdout] 131 |             };
[INFO] [stdout]     |              ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]    --> src/main.rs:109:30
[INFO] [stdout]     |
[INFO] [stdout] 109 |     if let Some(cause) = err.cause() {
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/utils/gnr_error.rs:43:36
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn cause<'a>(&self) -> Option<&Error> {
[INFO] [stdout]    |                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn cause<'a>(&self) -> Option<&dyn Error> {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/command_engine/commands/mod.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |         (name: meta_data.name.as_ref())
[INFO] [stdout]    |          ^^^^                 ------ type must be known at this point
[INFO] [stdout]    |          |
[INFO] [stdout]    |          cannot infer type of the type parameter `S` declared on the method `name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: multiple `impl`s satisfying `std::string::String: AsRef<_>` found in the following crates: `alloc`, `std`:
[INFO] [stdout]            - impl AsRef<OsStr> for std::string::String;
[INFO] [stdout]            - impl AsRef<Path> for std::string::String;
[INFO] [stdout]            - impl AsRef<[u8]> for std::string::String;
[INFO] [stdout]            - impl AsRef<str> for std::string::String;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 15 |         (name::<&T>: meta_data.name.as_ref())
[INFO] [stdout]    |              ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]   --> src/command_engine/commands/mod.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 |     ).bin_name(meta_data.prompt.as_ref())
[INFO] [stdout]    |       ^^^^^^^^                  ------ type must be known at this point
[INFO] [stdout]    |       |
[INFO] [stdout]    |       cannot infer type of the type parameter `S` declared on the method `bin_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: multiple `impl`s satisfying `std::string::String: AsRef<_>` found in the following crates: `alloc`, `std`:
[INFO] [stdout]            - impl AsRef<OsStr> for std::string::String;
[INFO] [stdout]            - impl AsRef<Path> for std::string::String;
[INFO] [stdout]            - impl AsRef<[u8]> for std::string::String;
[INFO] [stdout]            - impl AsRef<str> for std::string::String;
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 40 |     ).bin_name::<&T>(meta_data.prompt.as_ref())
[INFO] [stdout]    |               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/command_engine/engine.rs:34:29
[INFO] [stdout]    |
[INFO] [stdout] 34 |         String::from(buffer.trim_right())
[INFO] [stdout]    |                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 34 -         String::from(buffer.trim_right())
[INFO] [stdout] 34 +         String::from(buffer.trim_end())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]    --> src/main.rs:109:30
[INFO] [stdout]     |
[INFO] [stdout] 109 |     if let Some(cause) = err.cause() {
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `custom_rich_status` (bin "custom_rich_status") due to 2 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ce633c875f2eb11794a56b468d0c360c90425f66ffa2e63603229a500eae8abd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce633c875f2eb11794a56b468d0c360c90425f66ffa2e63603229a500eae8abd", kill_on_drop: false }`
[INFO] [stdout] ce633c875f2eb11794a56b468d0c360c90425f66ffa2e63603229a500eae8abd
